/*
 * @Author: 陈心怡
 * @Date: 2024-09-07 19:37:00
 * @LastEditors: 陈心怡
 * @LastEditTime: 2024-09-08 12:31:05
 * @FilePath: \vue2\src\router\index.js
 * @Description:
 */
import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  { path: '/', component: () => import('@/views/ColCom.vue') },
  { path: '/col', component: () => import('@/views/ColCom.vue') },
  { path: '/btn', component: () => import('@/views/ButtonCom.vue') },
  { path: '/con', component: () => import('@/views/ContainerCom.vue') },
  { path: '/icon', component: () => import('@/views/IconCom.vue') },
  { path: '/form', component: () => import('@/views/FormCom.vue') },
  { path: '/table', component: () => import('@/views/TableCom.vue') },
  { path: '/pagin', component: () => import('@/views/PaginationCom.vue') }
]

const router = new VueRouter({
  routes
})

export default router
